package com.ruoyi.dmpcomponent.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 通用组件配置对象 dmp_component_config
 * 
 * @author MquanZeng
 * @date 2021-12-22
 */
public class DmpComponentConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long compId;

    /** 组件类型 */
    @Excel(name = "组件类型")
    private String compType;

    /** 组件名称 */
    @Excel(name = "组件名称")
    private String compName;

    /** 组件描述 */
    @Excel(name = "组件描述")
    private String compDesc;

    /** 组件版本 */
    @Excel(name = "组件版本")
    private String compVersion;

    /** 组件用途 */
    @Excel(name = "组件用途")
    private String compUseto;

    /** 通用组件配置键值对参数信息 */
    private List<DmpComponentConfigParams> dmpComponentConfigParamsList;

    public void setCompId(Long compId) 
    {
        this.compId = compId;
    }

    public Long getCompId() 
    {
        return compId;
    }
    public void setCompType(String compType) 
    {
        this.compType = compType;
    }

    public String getCompType() 
    {
        return compType;
    }
    public void setCompName(String compName) 
    {
        this.compName = compName;
    }

    public String getCompName() 
    {
        return compName;
    }
    public void setCompDesc(String compDesc) 
    {
        this.compDesc = compDesc;
    }

    public String getCompDesc() 
    {
        return compDesc;
    }
    public void setCompVersion(String compVersion) 
    {
        this.compVersion = compVersion;
    }

    public String getCompVersion() 
    {
        return compVersion;
    }
    public void setCompUseto(String compUseto) 
    {
        this.compUseto = compUseto;
    }

    public String getCompUseto() 
    {
        return compUseto;
    }

    public List<DmpComponentConfigParams> getDmpComponentConfigParamsList()
    {
        return dmpComponentConfigParamsList;
    }

    public void setDmpComponentConfigParamsList(List<DmpComponentConfigParams> dmpComponentConfigParamsList)
    {
        this.dmpComponentConfigParamsList = dmpComponentConfigParamsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("compId", getCompId())
            .append("compType", getCompType())
            .append("compName", getCompName())
            .append("compDesc", getCompDesc())
            .append("compVersion", getCompVersion())
            .append("compUseto", getCompUseto())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("dmpComponentConfigParamsList", getDmpComponentConfigParamsList())
            .toString();
    }
}
